package com.techwells.applicationMarket.dao;

import org.apache.ibatis.annotations.Param;

import jnr.ffi.Struct.int16_t;

import com.techwells.applicationMarket.domain.UserTaskCount;
import com.techwells.applicationMarket.domain.UserTaskCountKey;

public interface UserTaskCountMapper {
    int deleteByPrimaryKey(UserTaskCountKey key);

    int insert(UserTaskCount record);

    int insertSelective(UserTaskCount record);

    UserTaskCount selectByPrimaryKey(UserTaskCountKey key);

    int updateByPrimaryKeySelective(UserTaskCount record);

    int updateByPrimaryKey(UserTaskCount record);
    
    /**
     * 更新任务完成的次数为0
     * @return
     */
    int updateUserTaskCountToZero();
    
    
    
    
    
}